cssprovider: Reimplement gtk_css_provider_load_from_path()
authorBenjamin Otte <otte@redhat.com>
Mon, 11 Apr 2011 23:22:16 +0000 (01:22 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 May 2011 19:58:46 +0000 (21:58 +0200)
commitd6c6a0bcc040e458e476376666212437a94ac84d
treefb1be7f0a74057ee70962b3926108e3666f87282
parentb0d3078aa745cbc7558a2064d9d10652bd4b3ddd
cssprovider: Reimplement gtk_css_provider_load_from_path()

Call gtk_css_provider_load_from_file() instead of the internal function.
This has two advantages:
1) It simplifies the code a lot
2) It gets rid of GMappedFile usage. GMappedFile does not work
   everywhere, so this is finally portable.
gtk/gtkcssprovider.c